package org.pzy.jersey.controller;

import org.springframework.stereotype.Component;

import javax.ws.rs.GET;
import javax.ws.rs.Path;

/**
 * @Author: DRevelation
 * @Date: 2023/3/16 17:23
 */
@Path("/demo")
@Component
public class DemoController {

    @GET @Path("/hello")
    public String hello() {
        return "Hello World";
    }
}
